<template>
  <div class="popcontent">
    <div class="f-mask"></div>
    <div class="mainbox f-clear">
        <a class="close closel" @click="popClose"></a>
        <a class="close closer" @click="popClose"></a>
        <div class="leftinfo">
            <div class="detailbox">
                <div class="person">
                    <span class="name">{{this.$route.query.name}}</span><span class="sex">{{this.$route.query.sex}}</span><span class="age">{{this.$route.query.age}}</span>
                </div>
                <div class="tableinfo">
                    <div class="infobar">
                        <span class="title">床号</span><span class="desc">{{this.$route.query.number}}</span>
                    </div>
                    <div class="infobar">
                        <span class="title">住院号</span><span class="desc">{{this.$route.query.innum}}</span>
                    </div>
                    <div class="infobar">
                        <span class="title">住院时间</span><span class="desc">2019-06-13  14:32</span>
                    </div>
                </div>
            </div>
            <div class="detailbox">
                <div class="tableinfo">
                    <div class="infobar">
                        <span class="title">诊断</span><span class="desc">慢性肾炎</span>
                    </div>
                    <div class="infobar">
                        <span class="title">护理等级</span><span class="desc">一级护理</span>
                    </div>
                    <div class="infobar">
                        <span class="title">主治医生</span><span class="desc">张绸</span>
                    </div>
                </div>
            </div>
            <div class="detailbox">
                <div class="tableinfo">
                    <div class="infobar">
                        <span class="title">医保类型</span><span class="desc">医保</span>
                    </div>
                    <div class="infobar">
                        <span class="title">预缴款</span><span class="desc">5000.00</span>
                    </div>
                    <div class="infobar">
                        <span class="title">总花费</span><span class="desc">5675.00</span>
                    </div>
                    <div class="infobar">
                        <span class="title">余额</span><span class="desc">-675.00</span>
                    </div>
                    <div class="infobar">
                        <span class="title">联系方式</span><span class="desc">15165093123</span>
                    </div>
                </div>
            </div>
            <div class="patag">
                <a class="cur">长期医嘱</a><a>临时医嘱</a>
            </div>
        </div>
        <div class="rightinfo">
            <div class="tabbar"><a class="cur">长期医嘱</a></div>
            <div class="tablebox">
                <table class="tablelist" width="100%">
                    <tbody>
                        <tr>
                            <th>状态</th>
                            <th>开始时间</th>
                            <th>医嘱分类</th>
                            <th>医嘱内容</th>
                            <th>医嘱内容</th>
                            <th>执行概率</th>
                            <th>一次计量</th>
                            <th>嘱托</th>
                            <th>日期</th>
                        </tr>
                        <tr>
                            <td><span class="f-cblue">执行</span></td>
                            <td>2019/06/13</td>
                            <td>H</td>
                            <td class="f-tal">肾脏科疾病常规护理</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                        <tr>
                            <td><span class="f-cblue">执行</span></td>
                            <td>2019/06/13</td>
                            <td>I</td>
                            <td class="f-tal">二级护理</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                        <tr>
                            <td><span class="f-cgray">停止</span></td>
                            <td>2019/06/13</td>
                            <td>A</td>
                            <td class="f-tal">特别饮食</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                        <tr>
                            <td><span class="f-cblue">执行</span></td>
                            <td>2019/06/13</td>
                            <td>E</td>
                            <td class="f-tal">特别饮食（报肾二号）</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                        <tr>
                            <td><span class="f-cblue">执行</span></td>
                            <td>2019/06/13</td>
                            <td>E</td>
                            <td class="f-tal">培哚普利叔丁胺片（施维雅）【市公乙】</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                        <tr>
                            <td><span class="f-cblue">执行</span></td>
                            <td>2019/06/13</td>
                            <td>H</td>
                            <td class="f-tal">益肾丸*【公.1】【乙10】</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                        <tr>
                            <td><span class="f-cgray">停止</span></td>
                            <td>2019/06/13</td>
                            <td>H</td>
                            <td class="f-tal">测血压</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                        <tr>
                            <td><span class="f-cgray">停止</span></td>
                            <td>2019/06/13</td>
                            <td>I</td>
                            <td class="f-tal">阿托伐汀钙片*【市公乙】（辉瑞）</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                        <tr>
                            <td><span class="f-cblue">执行</span></td>
                            <td>2019/06/13</td>
                            <td>A</td>
                            <td class="f-tal">一级护理</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                        <tr>
                            <td><span class="f-cblue">执行</span></td>
                            <td>2019/06/13</td>
                            <td>E</td>
                            <td class="f-tal">冰袋物理降温</td>
                            <td>1/日</td>
                            <td>1/日</td>
                            <td>8.00mg</td>
                            <td>--</td>
                            <td>2019/06/13 14:32:51</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'PatientInfo',
  props: ['patientlist'],
  components: {
  },
  data () {
    return {
    }
  },
  methods: {
    popClose: function () {
      this.$emit('closeParent', 'aa')
    },
    handleTab (index) {
      this.nowIndex = index
      this.swiper.slideTo(index, 300, false)
    }
  },
  computed: {
    swiper () {
      return this.$refs.mySwiper.swiper
    }
  }
}
</script>

<style lang="stylus" scoped>

</style>
